package FrameWork;




// <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
// #[regen=yes,id=DCE.ADE5658C-D17D-DD42-AFE2-4355DE0CDE31]
// </editor-fold> 
public class RoomCreatorEngine implements MainOperation {

    public WEEObject addInstance(String scriptXML) {
        Room room = new Room();
        String [] str = scriptXML.split(";");   
        room.setID(Integer.parseInt(str[0]));
        room.setRoomName(str[1]);
        return room;
    }

    public Boolean deleteInstance() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public WEEObject modifyInstance(String scriptXML) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

}

